package com.baibang.baibang815.mapper;

import com.baibang.baibang815.domain.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {

    List<Product> selectAll();

    Product selectById(int id);

    int insert(Product product);

    int update(Product product);

    int delete(int id);

}